package com.mef.smsplat.eterm.bean;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class PNRPasseenger {

	private String name;
	private String idType;
	private String idNo;
	private String type;// 旅客类型
	
	public final static String PASSENGER_TYPE_ADULT ="0";
	public final static String PASSENGER_TYPE_CHILD ="1";
	public final static String PASSENGER_TYPE_INFANT="2";
	
	
	
	/**
	 * 如果改旅客为婴儿，则为携带婴儿的成人信息
	 */
	private String name4Infant;
	private String idNo4Infant;
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

	public String getName() {
		return name;
	}

	public String getIdType() {
		return idType;
	}

	public String getIdNo() {
		return idNo;
	}

	public String getType() {
		return type;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setIdType(String idType) {
		this.idType = idType;
	}

	public void setIdNo(String idNo) {
		this.idNo = idNo;
	}

	public void setType(String type) {
		this.type = type;
	}

	public void setName4Infant(String name4Infant) {
		this.name4Infant = name4Infant;
	}

	public String getName4Infant() {
		return name4Infant;
	}

	public void setIdNo4Infant(String idNo4Infant) {
		this.idNo4Infant = idNo4Infant;
	}

	public String getIdNo4Infant() {
		return idNo4Infant;
	}
	

}
